﻿using System;
using UnityEngine;

// Token: 0x02000029 RID: 41
public class ColorPickerTester : MonoBehaviour
{
	// Token: 0x060000D6 RID: 214 RVA: 0x0000BC9C File Offset: 0x00009E9C
	private void Start()
	{
		this.picker.onValueChanged.AddListener(delegate(Color color)
		{
			this.renderer.material.color = color;
			this.Color = color;
		});
		this.renderer.material.color = this.picker.CurrentColor;
		this.picker.CurrentColor = this.Color;
	}

	// Token: 0x060000D7 RID: 215 RVA: 0x00002973 File Offset: 0x00000B73
	private void Update()
	{
	}

	// Token: 0x040001DF RID: 479
	public Renderer renderer;

	// Token: 0x040001E0 RID: 480
	public ColorPicker picker;

	// Token: 0x040001E1 RID: 481
	public Color Color = Color.red;
}
